package cn.itcast.day05;


import java.util.Arrays;

public class Demo02ArraysPractise {

    public static void main(String[] args) {

        String str = "ahjdsfuwehusadjkfjasj";
        char[] ch = str.toCharArray();
        Arrays.sort(ch);
        //倒序打印
        for (int i = ch.length-1; i >= 0 ; i--) {
            System.out.println(ch[i]);
        }
    }
}
